package com.triadsystems.cashweb.modelo.persistencia.entidades;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

@Entity
@Table
@SequenceGenerator(name="seq_empresa", sequenceName="cw_seq_empresa", initialValue = 2, allocationSize = 1)
public class Empresa extends ValueObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column
	@GeneratedValue(generator = "seq_empresa", strategy = GenerationType.SEQUENCE)
	@Getter @Setter
	private Long entityId;

	@Getter @Setter
	private String nome;

	@Getter @Setter
	private String codigoFebraban;
	 
	@Getter @Setter
	private String convenio;
	 
	@Getter @Setter
	private Integer nsa;
	
	@Getter @Setter
	private String cnpj;
	
	@Getter @Setter
	private String endereco;
	
	@Getter @Setter
	private String numero;
	
}
 
